package cn.liuhuan1.blogsModel.dao;

import cn.liuhuan1.webModelBean.bo.LeaveWordBo;
import cn.liuhuan1.webModelBean.vo.LeaveWordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaveWordDao {
    public List<LeaveWordVo> getLeaveWord();

    List<LeaveWordVo> getPageLeaveWord(LeaveWordBo leaveWordBo);

    int getPageCount(LeaveWordBo leaveWordBo);

    LeaveWordVo getLeaveWordById(String id);

    void saveLeaveWord(LeaveWordBo leaveWordBo);

    void updateLeaveWord(LeaveWordBo leaveWordBo);

    void delLeaveWord(String id);

    void updateStatus(@Param("status") String status, @Param("id") String id);
}
